
function process({ ctx, text, requireModule }) {
	
	const { project, projectName, template, namespace } = ctx;
	
	const utils = requireModule('./utils');
	
	let dbName = project.replaceAll('-', '_');
	let passwordSalt = utils.randomString(24);
	let jwtKey = utils.randomString(24);
	
	text = text.replace('$DB_NAME', dbName);
	text = text.replace('$PASSWORD_SALT', passwordSalt);
	text = text.replace('$JWT_KEY', jwtKey);

	return text;
}

